package com.xujiang.myblog.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by xujiang on 2017/4/17.
 *
 * 用户类类型
 */

public class UserFragmentEntity<T> implements MultiItemEntity {
    public static final int CLICK_ITEM_VIEW = 1;
    public static final int CLICK_ITEM_CHILD_VIEW = 2;
    public static final int LONG_CLICK_ITEM_VIEW = 3;
    public static final int LONG_CLICK_ITEM_CHILD_VIEW = 4;
    public static final int NEST_CLICK_ITEM_CHILD_VIEW = 5;
    public int Type;

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public T t;

    public UserFragmentEntity(final int type){
        Type = type;
    }

    @Override
    public int getItemType() {
        return Type;
    }

}
